package com.assignwork.mapper;

import com.assignwork.dto.AssemblyLineDTO;
import com.assignwork.vo.AssemblyLineVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.assignwork.entity.AssemblyLine;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 作业线Mapper
 */
public interface AssemblyLineMapper extends BaseMapper<AssemblyLine> {

    List<AssemblyLineVO> listAssemblyLine(@Param("order") List<OrderItem> order, @Param("search") AssemblyLineDTO search);

    String maxLineNo(@Param("today") String today);

    List<AssemblyLineVO> listAssemblyLine4Plan(@Param("planId") Long planId);
}